package com.daxt.model.service.watermark;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "水印信息", description = "水印信息")
@TableName("water_mark_config")
public class WaterMarkConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "水印信息", name = "waterMark")
    @TableField(value = "water_mark")
    private String waterMark;

    @ApiModelProperty(value = "水印字体大小", name = "waterMarkSize")
    @TableField(value = "water_mark_size")
    private String waterMarkSize;

    @ApiModelProperty(value = "全宗id", name = "fondsId")
    @TableField(value = "fondsId")
    private String fondsId;

    @ApiModelProperty(value = "全宗名称", name = "fondsName")
    @TableField(exist = false)
    private String fondsName;

}
